package com.test.person;

public class Teacher extends Person implements Exam{


    public Teacher(String name) {
        super(name);
    }

    @Override
    public void eat() {

    }

    @Override
    public void sport() {

    }

    @Override
    public void learn() {
        System.out.println("keep learning and teach student");
    }

    @Override
    public void exam() {

    }
}
